/*
 * Created on May 29, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package com.novix.portal.framework.model.impl;

import java.io.Serializable;

import org.apache.commons.lang.StringUtils;

import com.novix.portal.framework.model.IPortalUser;

/**
 * @author Dev
 * 
 * TODO To change the template for this generated type comment go to Window -
 * Preferences - Java - Code Style - Code Templates
 */
public class GeneralUser implements IPortalUser, Serializable {

    private String id;

    private String password;

    private String captive;

    private String token;

    /**
     * @return Returns the captive.
     */
    public String getCaptive() {
        return StringUtils.capitalize(captive);
    }

    /**
     * @param captive
     *            The captive to set.
     */
    public void setCaptive(String captive) {
        this.captive = captive;
    }

    /**
     * @return Returns the id.
     */
    public String getId() {
        return id;
    }

    /**
     * @param id
     *            The id to set.
     */
    public void setId(String id) {
        this.id = id;
    }

    /**
     * @return Returns the password.
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     *            The password to set.
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     *  
     */
    public GeneralUser() {
        super();
        // TODO Auto-generated constructor stub
    }

    /**
     * @return Returns the token.
     */
    public String getToken() {
        return token;
    }

    /**
     * @param token
     *            The token to set.
     */
    public void setToken(String token) {
        this.token = token;
    }
}
